﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using MaxTrader.Persistence.Core;

namespace MaxTrader.DAL.Mapping
{
    public class EntitySubclassMap<T> : SubclassMap<T>
    {
        /// <summary>
        ///   Initializes a new instance of the EntitySubclassMap class.
        /// </summary>
        public EntitySubclassMap()
        {
            Mapping = NHibernateHelper.PersistenceProvider.Mapping;
        }

        protected IPersistenceMapping Mapping { get; private set; }
    }
}
